package com.shenyi.wx.api;

import com.alibaba.fastjson.JSONObject;
import com.shenyi.wx.entity.OrderDO;
import com.shenyi.wx.entity.UserDO;

import java.util.List;
import java.util.Map;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/06
 * @desc 订单
 * @see
 * @since 1.0
 */
public interface IApiOrderService {

    OrderDO queryObject(Integer id);


    List<OrderDO> queryList(Map<String, Object> map);


    int queryTotal(Map<String, Object> map);


    void save(OrderDO order);


    int update(OrderDO order);


    void delete(Integer id);


    void deleteBatch(Integer[] ids);


    Map<String, Object> submit(JSONObject jsonParam, UserDO loginUser);
}
